var obj={
    name:"谭sir",
    age:18
}
//console.log(obj.name);
//console.log(obj["name"]);
//obj.boyFriend="黄景瑜";

var person="坤坤"
obj[person]="易烊千玺"

console.log(obj);


var arr=["hello",1,2,"a"]
//console.log(arr[3]);

for(var i=0;i<arr.length;i++){
    arr[i]=arr[i]+1
}

console.log(arr);